/*
 * permission Javascript
 */
 
 $(document).ready(function(){
	if(role_status == "0"){
		errorBlock(role_status,"没有用户信息请联系客服");
	} else if(role_status == "100") {
		errorBlock(role_status,"没有角色信息,请联系客服");
	}
})
function errorBlock(role_status,str){
	var content='<div id="errorBlock"><table><tr><td><image src="images/error.png" align=middle></td><td><p class="error">[error: '+role_status+']</p></td></tr></table><p class="error">'+str+'</p><p>联系电话: 010-00000000</p><p>邮箱: admin@sms.com</p><p><a href="javascript:quit();">退出系统</a></p></div>';
	$.blockUI({ message: content,fadeIn:0,css:{cursor:"default"},overlayCSS: { backgroundColor: '#CCC',cursor:"default" }});
	//$.blockUI({ message: content,fadeIn:0,overlayCSS: { backgroundColor: '#FFFFFF',cursor:"default",border:"0"}});
}
